public class Test {
    public static void main(String[] args) {
        TreeNode0823 treeNode0823 = new TreeNode0823();
        Node root = treeNode0823.createTree();
//        treeNode0823.preOrderTraversal(root);
//        System.out.println();
//        treeNode0823.inOrderTraversal(root);
//        System.out.println();
//        treeNode0823.postOrderTraversal(root);
//        System.out.println();
        /*System.out.println(binaryTree.size1(root));
        System.out.println(binaryTree.size(root));
        System.out.println("=========叶子节点的个数===========");*/

        /*System.out.println(treeNode0823.size(root));
        System.out.println(treeNode0823.getSize2(root));
        System.out.println(treeNode0823.getHeight(root));
        System.out.println(treeNode0823.getKLevelSize(root,2));*/
       /*Node ret = treeNode0823.find(root,'W');
        System.out.println(ret.val);*/
        System.out.println(treeNode0823.isCompleteTree(root));
    }



}
